package main

import (
	"github.com/gin-gonic/gin"
	"onerk4/zk1/api/router"
	"onerk4/zk1/initialize"
)

func main() {
	initialize.ConfigInit()
	initialize.InitNaCos()
	initialize.MysqlInit()
	initialize.LoggerInit()
	initialize.RedisInit()

	r := gin.Default()
	router.LoadRouter(r)
	r.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
